package Jets.interfaces
{
	import Jets.animate.JAnimateBase;

	public interface InJAnimate
	{
		/**
		 * 获取帧率
		 */
		function get frameRate():Number;
		function set frameRate(value:Number):void;
		
		function setLabel(label:String, repeat:int=-1, clearQueue:Boolean = true):void;
		function getLabelIndex(labelName:String):int;
		function hasLabel(labelName:String):Boolean;
		function setLoop(loop:int):void;
		function getLoop():int;
		function queueLabel(labelName:String, repeat:int=-1):void;
		function clearQueue():void;
		function reset():void;
		function get frameInLabel():int;
		function set frameInLabel(v:int):void;
		function loopBackToStart():void;
		function hasLabels():Boolean;
		function get labels():Array;
		function set labels(value:Array):void;
		function get curLabelName():String;
		function get currentFrame():int;
		function set currentFrame(frame:int):void;
		function get totalFrames():int;
		function nextFrame():void;
		function linkTo(target:InJAnimate):void;
		function removeLinkFrom(target:InJAnimate):void;
		function queueDestory():void;
		function set linkAnimateArr(value:Array):void;
		function get linkAnimateArr():Array;
	}
}